package com.zb.service;

import java.util.List;

import com.zb.common.exception.BusinessException;
import com.zb.common.po.model.Menu;

public interface MenuService {
    public List<Menu> findAllMenu();

    public List<Menu> findAllMenuByRoles(List<String> roleIds);

    public void saveMenu(Menu menu) throws BusinessException;

    public void deleteMenu(Integer id) throws BusinessException;

    public Menu findPmenuByUrl(String url);
}
